package com.cx.service;

import com.cx.dto.AllHotel;
import com.cx.dto.ElasticSearchDto;
import com.cx.dto.HotelInfo;
import com.cx.dto.RecentHotel;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HotelMapperService {
    List<HotelInfo> findHotelInfoBYHotelName(String hotelName);

    List<AllHotel> findHotelByCondition(String [] locate, String [] brand, String [] mininumCharge, String [] service,Integer pageNum,boolean priceFlag,boolean scoreFlag);

    public int count(String[] locate, String[] brand, String[] mininumCharge, String[] service,Integer pageNum,boolean priceFlag,boolean scoreFlag);

    List<RecentHotel> findRecentHotelByCity(String cityName);

    List<AllHotel>findHotelByKeyWords(String keyWords);

    List<ElasticSearchDto> findAllHotel();

}
